//
//  SDShopsTableViewController.h
//  Sydeny
//
//  Created by Rainbow on 7/23/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CacheData.h"
#import "ServiceHelper.h"
#import "SDThreeAdvertisingView.h"
#import "EGORefreshTableHeaderView.h"

@interface SDShopsTableViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, SDAdvertisingViewDelegate, EGORefreshTableHeaderDelegate> {
    NSMutableArray *shops;
    SydenyShopListType listType;
    IBOutlet UITableView *tableView;
    UITableView *recommendTableView;
    UIView *recommandBgView;
    NSMutableDictionary *imageCache;
    
    BOOL loadFinish;
    BOOL loadingMore;
    BOOL _reloading;
    NSIndexPath *lastIndexPath;
    
    NSMutableDictionary *requestParams;
    
    EGORefreshTableHeaderView *_refreshTableHeaderView;
    
    SydenyRequestType requestType;
}


@property (nonatomic, assign) SydenyRequestType requestType;
@property (nonatomic, retain) NSMutableArray *shops;
@property (nonatomic, assign) SydenyShopListType listType;
@property (nonatomic, assign) BOOL loadFinish;
@property (nonatomic, retain) IBOutlet UITableView *tableView;
@property (nonatomic, retain) IBOutlet UITableView *recommendTableView;
@property (nonatomic, retain) IBOutlet UIView *recommandBgView;

-(void)getMore;

@end
